package com.ndp.fb.mq;

import com.alibaba.dubbo.config.ApplicationConfig;
import com.ndp.fb.config.BaseConfig;
import com.ndp.fb.constant.ConfigConst;

/**
 * Created by infi on 2015/1/23.
 */

public class MqServicesApplication extends BaseConfig {

    @Override
    public ApplicationConfig registerApplicationConfig() {
        ApplicationConfig applicationConfig = new ApplicationConfig();
        applicationConfig.setName(ConfigConst.MQ_SERVICES_ID);
        return applicationConfig;
    }

    @Override
    public String getRegistryGroup() {
        return ConfigConst.DUBBO_REGISTER_GROUP;
    }

}
